<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="mall/advert/include::header"></head>
<link rel="stylesheet" type="text/css" href="/css/plugins/layui/layui.css"/>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="row">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>账号修改</h5>
        </div>
        <div class="ibox-content">
          <form class="form-horizontal m-t" id="signupForm">
            <input type="hidden" id="id" name="id" th:value="${account.id}">
            <div class="form-group">
              <label class="col-sm-3 control-label">软件ID:</label>
              <div class="col-sm-8">
                <input id="softId" name="softId" class="form-control" type="text" th:value="${account.softId}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">软件名称:</label>
              <div class="col-sm-8">
                <input id="softName" name="softName" class="form-control" type="text" th:value="${account.softName}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">机器编号:</label>
              <div class="col-sm-8">
                <input id="machineNo" name="machineNo" class="form-control" type="text" th:value="${account.machineNo}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">机位编位:</label>
              <div class="col-sm-8">
                <input id="seatNo" name="seatNo" class="form-control" type="text" th:value="${account.seatNo}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">昵称:</label>
              <div class="col-sm-8">
                <input id="nickName" name="nickName" class="form-control" type="text" th:value="${account.nickName}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">手机号码:</label>
              <div class="col-sm-8">
                <input id="mobile" name="mobile" class="form-control" type="text" th:value="${account.mobile}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">软件实名:</label>
              <div class="col-sm-8">
                <input id="softReal" name="softReal" class="form-control" type="text" th:value="${account.softReal}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">手机实名:</label>
              <div class="col-sm-8">
                <input id="mobileReal" name="mobileReal" class="form-control" type="text" th:value="${account.mobileReal}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">备注:</label>
              <div class="col-sm-8">
                <input id="remark" name="remark" class="form-control" type="text" th:value="${account.remark}">
              </div>
            </div>


            <div class="form-group text-center">
              <div class="col-sm-8 col-sm-offset-2">
                <button type="submit" class="btn btn-primary"><i class="fa fa-check"></i>提交</button>
                <div class="btn btn-danger" onclick="closeDow()"><i class="fa fa-remove"></i> 关闭</div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
<div th:include="mall/advert/include::footer"></div>
<script type="text/javascript" src="/js/appjs/read/account/edit.js"></script>
<script type="text/javascript" src="/js/plugins/layui/layui.js"></script>
<script type="text/javascript">
  function closeDow() {
    var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
    parent.layer.close(index);
  }
  layui.use('laydate', function(){
    var laydate = layui.laydate;
    laydate.render({
      elem: '#timestart'
      ,type: 'datetime'
    });

    laydate.render({
      elem: '#timeend'
      ,type: 'datetime'
    });
    laydate.render({
      elem: '#upStartTime' , type: 'datetime'
    });

    laydate.render({
      elem: '#upEndTime' , type: 'datetime'
    });
  })
</script>
</body>

</html>
